package config

type Config struct {
	Database Database `mapstructure:"database" yaml:"database"`
	Redis    Redis    `mapstructure:"redis" yaml:"redis"`
	Server   Server   `yaml:"server" mapstructure:"server"`
	Jwt      Jwt      `mapstructure:"jwt" yaml:"jwt"`
	Mail     Mail     `mapstructure:"mail" yaml:"mail"`
}

type Server struct {
	Port   int    `json:"port" mapstructure:"port" yaml:"port"`
	Name   string `json:"name" mapstructure:"name" yaml:"name"`
	Prefix string `json:"prefix" mapstructure:"prefix" yaml:"prefix"`
	Dev    bool   `json:"dev" mapstructure:"dev" yaml:"dev"`
}
